;; 打开org 文件折叠显示 
;;(setq org-startup-folded t)

;; 可以通过此命令或快捷键TAB进行显示和隐藏内容
;;(org-cycle)
(setq org-M-RET-may-split-line '((headline . nil)))

;; 添加工作状态
;;(setq org-todo-keywords '((sequence "TODO(t!)" "WAIT(w!)" "|" "DONE(d@)" "CANCEL(c@)")
;;(sequence "REPORT(r!)" "BUG(b!)" "KNOWNCAUSE(k!)" "|" "FIXED(f@)")))

(setq org-todo-keywords '((sequence "TODO(t)" "WAIT(w)" "|" "DONE(d)" "CANCEL(c)")
(sequence "REPORT(r)" "BUG(b)" "KNOWNCAUSE(k)" "|" "FIXED(f)")))

;; 加上时间
(setq org-log-done 'time)
;;(setq org-log-done 'note)

;; capture 
(setq org-default-notes-file  "D:\\emacs_note\\note.org")

;; TODO条目，并且你想要将这些条目放置到 ~~/org/gtd.org~ 中的 Task 标题下
(setq org-capture-templates
      '(("t" "Todo" entry (file+headline "D:\\emacs_note\\gtd.org" "Task")
         "* TODO %?\n %i\n %a")))


(provide 'init-org)
